package com.fdw.smartexam_system.system.service;

import com.fdw.smartexam_system.system.model.Question;

import java.util.List;

public interface QuestionService {


    Question createQuestion(Question question);

    Question updateQuestion(Long id, Question questionDetails);

    boolean deleteQuestion(Long id);

    List<Question> getAllQuestions();

    Question getQuestionById(Long id);
}
